#pragma once

#include <QUndoCommand>
#include <atomic>

class Op : public QUndoCommand
{
public:
	Op(QUndoCommand *parent = nullptr);

protected:
	// 操作类的ID，用于合并相同的操作
	static std::atomic<int> s_id;
};
